package ooday03;

public class InterfaceDemo {
    public static void main(String[] args) {
      //  Inter o = new Inter();  编译错误，接口不能实例化


    }
}

interface Inter{
    void show();
    void text();
}

class InterImpl implements Inter{

    public void show(){

    }
    public void text(){

    }
        }
interface Inter1{
    void show();
}
interface  Inter2{
    void test();
}
abstract  class Aoo{
    abstract void say();
}

class Boo extends Aoo implements Inter1,Inter2{

    @Override
    public void show() {
    }
    @Override
    public void test() {

    }
    @Override
    void say() {
    }
}
interface Inter3{
    void show();
}
interface Inter4 extends Inter3{
    void text();
}

class Coo implements Inter4{
    @Override
    public void show() {

    }

    @Override
    public void text() {

    }
}